package test;

public class test {

	public static void main(String[] args) {
		Student stu = new Student();
		new test().set(stu);
		System.out.println(stu.getName());
	}

	public void set(final Student stu) {
		testFinal(stu);
	}

	public void testFinal(final Student stu) {
		stu.setName("evan");
	}
}

class Student {
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
